<?php


namespace app\web\controller;


use app\admin\model\Resource;
use app\BaseController;
use app\index\model\UsersModel;

class Index extends BaseController
{
    public function index()
    {
        $resourceCount = Resource::where('status',1)->count();
        $userCount = UsersModel::where('status','<>',-1)->where('associate','<>',0)->count();
    }
}